package com.credithc.signature.common.po;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Data
@Table(name = "cert")
public class Cert {

    @Id
    Long id;

    @Column(name = "create_time")
    Date createTime;

    @Column(name = "update_time")
    Date updateTime;

    @Column(name = "cert_dn")
    String certDn;

    @Column(name = "cert_sn")
    String certSn;

    @Column(name = "apply_time")
    Date applyTime;

    @Column(name = "expire_time")
    Date expireTime;

    @Column(name = "ext1")
    String ext1;

    @Column(name = "ext2")
    String ext2;
}
